package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.common.article.pojos.ApArticle;
import com.heima.model.common.dtos.ArticleHomeDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: WDD
 * @Date: 2022/07/31/16:50
 * @Description:
 */
@Mapper
public interface ApArticleMapper extends BaseMapper<ApArticle> {
    public List<ApArticle> loadArticleList(
            @Param("dto") ArticleHomeDto dto,
            @Param("type") Short type);
}
